package com.blb.zycommunity.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.blb.zycommunity.entity.ZyOwner;
import com.blb.zycommunity.entity.ZyVisitor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 访客邀请  Mapper 接口
 * </p>
 *
 * @author chenheng
 * @since 2023-11-20
 */
public interface ZyVisitorMapper extends BaseMapper<ZyVisitor> {

    IPage<ZyVisitor> selectVisitorPage(IPage<ZyVisitor> page,String communityId, String visitorName, String visitorPhoneNumber, LocalDate visitorDate);

    List<ZyVisitor> selectVisitors(String communityId, String createById);

}
